package org.edu.modules.act.entity;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * word表单和附件表
 */
@Data
//数据表名
@TableName("act_ru_instance_file")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class ActRuInstanceFileEntity {
    /**主键id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    //流程实例ID
    @ApiModelProperty(value = "流程定义ID")
    @TableField(value = "PROC_INST_ID")
    private String procInstId;

    //word的URL
    @ApiModelProperty(value = "word的URL")
    @TableField(value = "WORD_FILE_URL")
    private String wordFileUrl;

    //word的文件名
    @ApiModelProperty(value = "word的文件名")
    @TableField(value = "WORD_NAME")
    private String wordName;

    //附件的URL
    @ApiModelProperty(value = "附件的URL")
    @TableField(value = "ACCESSORY_FILE_URL")
    private String accessoryFileUrl;

    //附件的文件名
    @ApiModelProperty(value = "附件的文件名")
    @TableField(value = "ACCESSORY_NAME")
    private String accessoryName;

    //用户ID
    @ApiModelProperty(value = "用户ID")
    @TableField(value = "USER_ID")
    private String userId;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //修改时间
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


    //终端ID
    @ApiModelProperty(value = "终端ID")
    @TableField(value = "terminalId")
    private Integer terminalId;


}
